package com.maiji.cloud.entities.shopingmall;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * Description: 获取积分任务表
 * @author zhanglr
 * @date 2019年10月23日
 */
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "task")
@TableName("task")
public class TaskEntity {

	@TableId
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
	private String uuId; // 任务id
	
	@Column(name = "type", type = MySqlTypeConstant.INT, length = 50)
	private Integer type ; //任务类型
	
	@Column(name = "task_name", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String taskName ;//任务描述
	
	@Column(name = "description", type = MySqlTypeConstant.VARCHAR, length = 255)
	private String description ;//任务描述
	
	@Column(name = "integral", type = MySqlTypeConstant.INT, length = 2)
	private Integer integral; //积分
	
	@Column(name = "img_url", type = MySqlTypeConstant.VARCHAR)
	private String imgUrl ; //图标地址
	
	@Column(name = "url", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String url ; //跳转地址
	
	@Column(name = "in_time", type = MySqlTypeConstant.DATETIME)
	private Date inTime;

}
